
#ifndef _DIODE_H_
#define _DIODE_H_
#include "hc32f460_gpio.h"


/* LED Port/Pin definition */
#define DIODE_PORT          (PortA)
#define DIODE_PIN           (Pin12)//12

/* LED toggle definition */
#define DIODE_TOGGLE()      (PORT_Toggle(DIODE_PORT, DIODE_PIN))
#define DIODE_L 			PORT_ResetPortData(DIODE_PORT, DIODE_PIN) 
#define DIODE_H 			PORT_SetPortData(DIODE_PORT, DIODE_PIN) 	


void diodeInit(void);





#endif

